home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / formats / moviebyu.txt / text0000.txt < prev   
Encoding:
Text File  |  1991-03-14  |  1.5 KB  |  38 lines

  1. In article <38945@netnews.upenn.edu> joe@retina.anatomy.upenn.edu (Joseph Panico) writes:
  2. >in MOVIE.BYU format. Where can I get MOVIE.BYU and the data formats for
  3. >both MOVIE.BYU and Wavefront's personal visualizer?
  4. >
  5. >                           Joe Panico
  6. >               joe@retina.anatomy.upenn.edu
  7.  
  8. The movie.byu geometry file format looks like this:
  9.  
  10.     write(iunit,80) npn,njn,nptn,nedge
  11.     write(iunit,80) ((npl(i,j),i=1,2),j=1,npn)
  12.     write(iunit,100) ((x(i,j),i=1,3),j=1,njn)
  13.     write(iunit,80) (jp(i),i=1,nedge)
  14.  80    format(10i8)
  15.  100    format(6e12.5)
  16.  
  17.  
  18. where npn = number of parts (geometric objects)
  19.       njn = number of nodes (total number of vertices)
  20.       nptn = number of polygons (total over all parts)
  21.       nedge = number of edges (total over all polygons in all parts)
  22.       npl = array of pairs of indices into connectivity array for
  23.         start polygon node and end polygon node for each part
  24.         (if there is 1 part then it is a single line = 1 and nedge)
  25.       x   = array of 3D vertices
  26.       jp  = connectivity array - indices of vertices in x array
  27.         making up a polygon with a negative index indicating the last
  28.         vertex of a polygon  (an n-sided polygon would have n entries in
  29.         the connectivity array and the n-th entry would be negated).
  30.  
  31. I have seen a number of programs that understand this format so its probably
  32. worth knowing.  So does anybody know the file formats for the personal
  33. visualizer?
  34.     david blythe
  35.     ontario centre for large scale computation
  36.     drb@clsc.utoronto.ca
  37.  
  38.